package po;

import java.io.Serializable;

public class SlCoursePO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String courseID;
	private String courseName;
	private String teacherName;
	private String studentID;
	private String studentName;
	private String studentDepartment;
	private String score;

	public SlCoursePO() {

	}

	/*
	 * lbq public void print(){
	 * System.out.println("cid: "+courseID+" cName: "+courseName);
	 * System.out.println("tName: "+teacherName);
	 * System.out.println("sid: "+studentID+" sName: "+studentName);
	 * System.out.println("sd: "+studentDepartment+" score: "+score); }
	 */
	// lbq
	public SlCoursePO(String courseID, String coureName, String sID,
			String sName, String dep, String score) {
		this.courseID = courseID;
		this.courseName = coureName;
		this.studentID = sID;
		this.studentName = sName;
		this.studentDepartment = dep;
		this.score = score;
	}

	public SlCoursePO(String courseID, String courseName) {
		// TODO Auto-generated constructor stub
		this.courseID = courseID;
		this.courseName = courseName;

	}

	public SlCoursePO(String courseID, String courseName, String studentID,
			String score) {
		// TODO Auto-generated constructor stub
		this.courseName = courseName;
		this.courseID = courseID;
		this.studentID = studentID;
		this.score = score;
	}

	public void recordScore(String score) {
		this.score = score;
	}

	public String getStudentID() {
		return studentID;
	}

	public String getStudentName() {
		return studentName;
	}

	public String getcourseID() {
		return courseID;

	}

	public String getcourseName() {

		return courseName;

	}

	public String getScore() {
		return score;
	}

	public String getTeacherName() {

		return this.teacherName;

	}

	public String getStudentDepartment() {
		return studentDepartment;
	}
	public void setStudentName(String sName){
		this.studentName = sName;
	}
	public void setStudentDep(String dep){
		this.studentDepartment = dep;
	}

}
